//
//  IGiGalleryBindApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/6.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGiGalleryBindApi.h"

@interface IGiGalleryBindApi()

@property (nonatomic, copy) NSString *macId;            ///>设备的MacID
@property (nonatomic, copy) NSString *title;            ///>设备的名称
@property (nonatomic, assign) IGiGalleryType type;;    ///>设备类型

@end

@implementation IGiGalleryBindApi

- (id)initWithMacId:(NSString *)macId title:(NSString *)title type:(IGiGalleryType)type {
    self = [super init];
    if (self) {
        _macId = macId;
        _title = title;
        _type = type;
    }
    return self;
}
    
- (NSString *)requestUrl {
    return @"equ/bunding";
}
    
- (id)requestArgument {
    return @{
             @"macId": _macId,
             @"title": _title,
             @"type": @(_type),
             @"uId":[IGUser getUid]
             };
}
    
- (BOOL)isNeedHub {
    return NO;
}

@end

@implementation IGiGalleryBindModel
    
@end

@implementation IGiGalleryBindResp

@end
